<div id="sca1" class="warp-pic-list">
<div id="wrapBox1">
<div class="p2 nofirst1" id="count1">
<?php foreach(HResponse::getAttribute('list') as $key => $item) { ?>
	<li>
        <a data-url="<?php echo HResponse::url('goods/detail'); ?>" href="javascript:void(0)" data-id="<?php echo $item['id']; ?>" class="click_pop"><span id="imgqh<?php echo $item['id']; ?>"><img src="<?php echo HResponse::touri($item['image_path']); ?>"/></span></a>
        <div class="showcolorbox">
            <div class="color_tag">
                <label class="f_tag" data-id="<?php echo $item['id']; ?>" data-image="<?php echo HResponse::touri($item['image_path']); ?>"><a href="javascript:void(0);"><img src="<?php echo HResponse::uri(); ?>images/c_tag.jpg"  /></a></label>
                <?php foreach ($item['colors'] as $val) { ?>
                <label data-id="<?php echo $item['id']; ?>" data-image="<?php echo HResponse::touri($val['image_path']); ?>"><input type="radio" name="color_qhbox" value="<?php echo $val['color_id']; ?>">
                    <article class="whitebox">
                    <?php if ($val['content']) { ?>
                        <i class="colorStyle" style="background:#<?php echo $val['content']; ?>"></i>
                    <?php } else { ?>
                    <i class="colorStyle" style="background:url(<?php echo HResponse::touri($val['cimage_path']); ?>)"></i>
                    <?php } ?>
                  </article>

                </label>
                <?php } ?>
            </div>
            <label class="<?php if ($item['is_like']) { ?>share_tag2 <?php } else { ?>share_tag <?php } ?>likes"><a href="javascript:void(0)" data-id="<?php echo $item['id']; ?>"> </a></label>
        </div>
        <div class="showsharpbox">
            <div class="onesharp"><?php echo $item['kuan']; ?>mm</div>
            <!--<li class="towsharp"><?php echo $item['zhai']; ?></li>-->
            <div class="shrsharp"><?php echo $item['height']; ?>mm</div>
            <div class="foursharp"><?php echo $item['length']; ?>mm</div>
        </div>
        
        <div class="ptitle"><?php echo $item['name']; ?></div>
    </li>
    

<?php } ?>
</div>
</div>
<a id="right1" class="prev_s icon btn"></a>
<a id="left1" class="next_s icon btn"></a>
</div>
<div class="clear"></div>
<div class="clear"></div>

<script type="text/javascript">
$(document).ready(function(){

	$("#count1").dayuwscroll({
		parent_ele:'#wrapBox1',
		list_btn:'#tabT04',
		pre_btn:'#left1',
		next_btn:'#right1',
		path: 'left',
		auto:true,
		time:9000,
		num:2,
		gd_num:2,
		waite_time:1000
	});

});
</script>